package com.elm.dao;

import com.elm.entity.Business;

import java.util.List;

public interface BusinessDao {
    public List<Business> listBusiness(String businessName, String businessAddress);
    public List<Business> listBusinessByOrderTypeId(Integer orderTypeId);
    public int saveBusiness(Business business);
    public int removeBusiness(String businessId);
    public Business getBusinessById(String businessId);
    public int updateBusiness(Business business);
    public int updateBusinessByPassword(String businessId, String password);
}
